const Router = require('@koa/router');

const userRouter = new Router({
    prefix:'/user'
});

userRouter.get('/',(ctx,next)=>{
    ctx.body = {
        message:'User home page'
    };
});

userRouter.post('/add',(ctx,next)=>{
    ctx.body = {
        message:'Add User page'
    };
});

module.exports = userRouter;